hospitalized patient
DRG-LLaMA : Tuning LLaMA Model to Predict Diagnosis-related Group for Hospitalized Patients
Wang, Hanyin, Gao, Chufan, Dantona, Christopher, Hull, Bryan, Sun, Jimeng
In the U.S. inpatient payment system, the Diagnosis-Related Group (DRG) is pivotal, but its assignment process is inefficient. The study introduces DRG-LLaMA, an advanced large language model (LLM) fine-tuned on clinical notes to enhance DRGs assignment. Utilizing LLaMA as the foundational model and optimizing it through Low-Rank Adaptation (LoRA) on 236,192 MIMIC-IV discharge summaries, our DRG-LLaMA-7B model exhibited a noteworthy macro-averaged F1 score of 0.327, a top-1 prediction accuracy of 52.0%, and a macro-averaged Area Under the Curve (AUC) of 0.986, with a maximum input token length of 512. This model surpassed the performance of prior leading models in DRG prediction, showing a relative improvement of 40.3% and 35.7% in macro-averaged F1 score compared to ClinicalBERT and CAML, respectively. Applied to base DRG and complication or comorbidity (CC)/major complication or comorbidity (MCC) prediction, DRG-LLaMA achieved a top-1 prediction accuracy of 67.8% and 67.5%, respectively. Additionally, our findings indicate that DRG-LLaMA's performance correlates with increased model parameters and input context lengths.
Subtyping Hyperchloremia among Hospitalized Patients by Machine Learning Consensus Clustering - PubMed
Background and Objectives: Despite the association between hyperchloremia and adverse outcomes, mortality risks among patients with hyperchloremia have not consistently been observed among all studies with different patient populations with hyperchloremia. The objective of this study was to characterize hyperchloremic patients at hospital admission into clusters using an unsupervised machine learning approach and to evaluate the mortality risk among these distinct clusters. Materials and Methods: We performed consensus cluster analysis based on demographic information, principal diagnoses, comorbidities, and laboratory data among 11,394 hospitalized adult patients with admission serum chloride of 108 mEq/L. We calculated the standardized mean difference of each variable to identify each cluster's key features. We assessed the association of each hyperchloremia cluster with hospital and one-year mortality.
Machine Learning Consensus Clustering Approach for Hospitalized Patients with Phosphate Derangements
Background: The goal of this study was to categorize patients with abnormal serum phosphate upon hospital admission into distinct clusters utilizing an unsupervised machine learning approach, and to assess the mortality risk associated with these clusters. Methods: We utilized the consensus clustering approach on demographic information, comorbidities, principal diagnoses, and laboratory data of hypophosphatemia (serum phosphate ≤ 2.4 mg/dL) and hyperphosphatemia cohorts (serum phosphate ≥ 4.6 mg/dL). The standardized mean difference was applied to determine each cluster’s key features. We assessed the association of the clusters with mortality. Results: In the hypophosphatemia cohort (n = 3113), the consensus cluster analysis identified two clusters. The key features of patients in Cluster 2, compared with Cluster 1, included: older age; a higher comorbidity burden, particularly hypertension; diabetes mellitus; coronary artery disease; lower eGFR; and more acute kidney injury (AKI) at admission. Cluster 2 had a comparable hospital mortality (3.7% vs. 2.9%; p = 0.17), but a higher one-year mortality (26.8% vs. 14.0%; p < 0.001), and five-year mortality (20.2% vs. 44.3%; p < 0.001), compared to Cluster 1. In the hyperphosphatemia cohort (n = 7252), the analysis identified two clusters. The key features of patients in Cluster 2, compared with Cluster 1, included: older age; more primary admission for kidney disease; more history of hypertension; more end-stage kidney disease; more AKI at admission; and higher admission potassium, magnesium, and phosphate. Cluster 2 had a higher hospital (8.9% vs. 2.4%; p < 0.001) one-year mortality (32.9% vs. 14.8%; p < 0.001), and five-year mortality (24.5% vs. 51.1%; p < 0.001), compared with Cluster 1. Conclusion: Our cluster analysis classified clinically distinct phenotypes with different mortality risks among hospitalized patients with serum phosphate derangements. Age, comorbidities, and kidney function were the key features that differentiated the phenotypes.
Machine Learning Consensus Clustering of Hospitalized Patients with Admission Hyponatremia
Background: The objective of this study was to characterize patients with hyponatremia at hospital admission into clusters using an unsupervised machine learning approach, and to evaluate the short- and long-term mortality risk among these distinct clusters. Methods: We performed consensus cluster analysis based on demographic information, principal diagnoses, comorbidities, and laboratory data among 11,099 hospitalized adult hyponatremia patients with an admission serum sodium below 135 mEq/L. The standardized mean difference was utilized to identify each cluster’s key features. We assessed the association of each hyponatremia cluster with hospital and one-year mortality using logistic and Cox proportional hazard analysis, respectively. Results: There were three distinct clusters of hyponatremia patients: 2033 (18%) in cluster 1, 3064 (28%) in cluster 2, and 6002 (54%) in cluster 3. Among these three distinct clusters, clusters 3 patients were the youngest, had lowest comorbidity burden, and highest kidney function. Cluster 1 patients were more likely to be admitted for genitourinary disease, and have diabetes and end-stage kidney disease. Cluster 1 patients had the lowest kidney function, serum bicarbonate, and hemoglobin, but highest serum potassium and prevalence of acute kidney injury. In contrast, cluster 2 patients were the oldest and were more likely to be admitted for respiratory disease, have coronary artery disease, congestive heart failure, stroke, and chronic obstructive pulmonary disease. Cluster 2 patients had lowest serum sodium and serum chloride, but highest serum bicarbonate. Cluster 1 patients had the highest hospital mortality and one-year mortality, followed by cluster 2 and cluster 3, respectively. Conclusion: We identified three clinically distinct phenotypes with differing mortality risks in a heterogeneous cohort of hospitalized hyponatremic patients using an unsupervised machine learning approach.